<?php
class Project_Model extends Model_Abstract 
{
    public function __construct($db)
    {
    	parent::__construct($db);
    }
    public function insert(Project_Item $project)
    {
    	$this->db->query("INSERT INTO wm_projects(`url`, `wm_id`, `id_account`) VALUES 
    					  ('".$project->getUrl()."',
    					   '".$project->getWm_id()."',
    					   '".$project->getId_account()."')");
    }
}
?>